﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="GirdView_Execl_Demo.aspx.cs"
    Inherits="WebApplication1.GirdView_Execl_Demo" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div style="width: 1250px; background-color: #ABC0FC">
        <asp:FileUpload ID="FileUpload1" runat="server" Width="500px" />
        <asp:Button ID="btnReadExcel" runat="server" OnClick="btnReadExcel_Click" Text="读取Excel" />
        <br />
        <br />
        <asp:Button ID="btnExportToExcel" runat="server" OnClick="btnExportToExcel_Click"
            Text="导出数据到Excel" />
        <br />
        <br />
        <asp:GridView ID="GridView1" runat="server" Style="width: 1200px;">
        </asp:GridView>
    </div>
    </form>
</body>
</html>
